/* The correct way.
 * Written by John Johann Kim
 * on Mon Jan  6 11:38:05 PST 2014
 */
class ForCorrect { 
    public static void main(String args[]) {

        int i;

        for(i = 0; int < 5; i++) {
            int sum;

            sum = sum + i; 

            System.out.println("Sum is: " + sum);
        }
    }
}

